package jsen.tool.ddd.adapter.infrastructure.specification;


import jsen.tool.ddd.adapter.infrastructure.specification.base.SpecContext;

/**
 * <T> 对应领域对象
 *
 * @author jsen
 * @date 2021/10/6
 */
@Specification
@FunctionalInterface
public interface ISpecification<T> {

    boolean isSatisfiedBy(SpecContext<T> t);

}
